package com.zzh.jn_erp.manufacturermanagerweb.dao.impl;

import com.github.pagehelper.Page;
import com.zzh.jn_erp.common.CommonSqlSessionSupport;
import com.zzh.jn_erp.manufacturermanagerweb.dao.ManufacturerDao;
import com.zzh.jn_erp.manufacturermanagerweb.entity.Manufacturer;
import org.springframework.stereotype.Repository;

/**
 * @author zhouzh
 * @date 2021/3/20 16:55
 * @description
 */
@Repository
public class ManufacturerDaoImpl extends CommonSqlSessionSupport implements ManufacturerDao {

    @Override
    public Page<Manufacturer> dataList(Manufacturer manufacturer) {
        return this.page("com.zzh.jn_erp.manufacturermanagerweb.dao.impl.ManufacturerDaoImpl.dataList", manufacturer, true);
    }
}
